<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<script>
  $('#bedNo').keydown(function (e) {
    if (e.keyCode == 13) {
      var bedNo = $("#bedNo").val();
      if(bedNo!=null && bedNo!=''){
        loadDiv('mainCenterDiv','${ctx}/nurse/unFinishedItems?bedNo='+bedNo)
      }else{
        toastr.warning("请输入床号进行检索");
      }
    }
  });
  $('#visitNo').keydown(function (e) {
    if (e.keyCode == 13) {
      var visitNo = $("#visitNo").val();
      if(visitNo!=null && visitNo!=''){
        loadDiv('mainCenterDiv','${ctx}/nurse/unFinishedItems?visitNo='+visitNo)
      }else{
        toastr.warning("请输入床号进行检索");
      }
    }
  });
</script>
<ul class="nav nav-tabs">
  <li><a href="#" onclick="loadDiv('mainCenterDiv','${ctx}/nurse/index')">床位列表</a></li>
  <li class="active">
    <a href="#">出院未做项目</a>
  </li>
</ul>
<div class="row" id="topDivId">
  <div class="col-lg-12">
    <section class="panel">
      <div class="panel-body">
        <form class="form-horizontal" id="patientInfo">
          <div class="col-lg-3">
            <div class="form-group">
              <label class="col-sm-4 control-label">住院号：</label>
              <div class="col-sm-6">
                <input name="visitNo"  id="visitNo" value="${patVisit.visitNo}" class="form-control"  maxlength="50"  />
              </div>
            </div>

            <div class="form-group">
              <label class="col-sm-4 control-label">预交金：</label>
              <div class="col-sm-6">
                <input name="prepayments" id="payment" value="${patVisit.prepayments}"  class="form-control"  maxlength="50" />
              </div>
            </div>
            <div class="form-group">
              <label class="col-sm-4 control-label">入院日期：</label>
              <div class="col-sm-6">
                <input name="admissionDate"  value="<fmt:formatDate value="${patVisit.admissionDate}" pattern="yyyy-MM-dd HH:mm:ss"></fmt:formatDate>"  class="form-control"  maxlength="50" />
              </div>
            </div>
          </div>
          <div class="col-lg-3">
            <div class="form-group">
              <label class="col-sm-4 control-label">床号：</label>
              <div class="col-sm-6">
                <input name="bedRec.bedNo"  id="bedNo" value="${patVisit.bedRec.bedNo}" class="form-control"  maxlength="50"  />
              </div>
            </div>
            <div class="form-group">
              <label class="col-sm-4 control-label">费别：</label>
              <div class="col-sm-6">
                <input name="chargeType" id="chargeType" value="${fns:getDictLabels(patVisit.patVisitIndex.chargeType, 'CHARGE_TYPE_DICT', '')}" class="form-control"  maxlength="50" />
              </div>
            </div>
            <div class="form-group">
              <label class="col-sm-4 control-label">入科日期：</label>
              <div class="col-sm-6">
                <input name="enterDeptDate"  value="<fmt:formatDate value="${patVisit.enterDeptDate}" pattern="yyyy-MM-dd HH:mm:ss"></fmt:formatDate>"  class="form-control"  maxlength="50" />
              </div>
            </div>
          </div>
          <div class="col-lg-3">
            <div class="form-group">
              <label class="col-sm-4 control-label">床标号：</label>
              <div class="col-sm-6">
                <input name="bedRec.bedLabel" id="clinicName" value="${patVisit.bedRec.bedLabel}" class="form-control"  maxlength="50"  />
              </div>
            </div>
            <div class="form-group">
              <label class="col-sm-4 control-label">性别：</label>
              <div class="col-sm-6">
                <input name="sex" id="sex" value="${fns:getDictLabels(patVisit.patVisitIndex.sex, 'SEX_DICT', '')}"  class="form-control"  maxlength="50" />
              </div>
            </div>
            <div class="form-group">
              <label class="col-sm-4 control-label">入院科室：</label>
              <div class="col-sm-6">
                <input name="deptAdmissionTo"  value="${fns:getDeptName(patVisit.deptAdmissionTo,'')}"  class="form-control"  maxlength="50" />
              </div>
            </div>
          </div>
          <div class="col-lg-3">
            <div class="form-group">
              <label class="col-sm-4 control-label">姓名：</label>
              <div class="col-sm-6">
                <input name="patVisitIndex.name"  id="name" class="form-control" value="${patVisit.patVisitIndex.name}"  maxlength="50"  />
              </div>
            </div>
            <div class="form-group">
              <label class="col-sm-4 control-label">年龄：</label>
              <div class="col-sm-6">
                <input name="patVisitIndex.age" value="${patVisit.patVisitIndex.age}"  class="form-control"  maxlength="50" />
              </div>
            </div>
            <div class="form-group">
              <label class="col-sm-4 control-label">医生：</label>
              <div class="col-sm-6">
                <input name="doctorInCharge"  value="${patVisit.doctorInCharge}"  class="form-control"  maxlength="50" />
              </div>
            </div>
          </div>
        </form>
      </div>
    </section>
  </div>
</div>